objs := ultrasonic.o
ARCH = arm64
CROSS_COMPILE = aarch64-none-linux-gnu-

key:$(objs)
	$(CROSS_COMPILE)gcc $^ -o ultrasonic
	cp ultrasonic /home/zsc/E2000D/E2000D_Class/nfsroot/
%.o:%.c
	$(CROSS_COMPILE)gcc -Wall -nostdlib -c $< -o $@

clean:
	rm -rf *.o ultrasonic
